package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Permission;
import cn.wolfcode.rbac.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void load();

    PageInfo query(QueryObject qo);

    List<Permission> listAll();

    List<Permission> queryPermissionByRoleId(Long rid);

    List<String> queryPermissionByEId(Long eid);
}
